public class customerlist {
    private customer[] customers;
    private int total;

    public customerlist(int totalcustomer) {
        customers = new customer[totalcustomer];
    }
    public boolean addcustomer(customer customer){
        if(total<customers.length){
            total++;
            return true;
        }

        return false;
    }
}
